<html>
<head>
<meta http-equiv=Content-Type content=text/html;charset=utf-8>
<#include "/xadmin/inc/common.html">
<script language="JavaScript">
	function doSave(){
		var url = "<#if obj.jsdm!=''>qxmanage-updaterole<#else>qxmanage-addrole</#if>";
		$('form').form('submit',{  
		    url:url,
		    onSubmit:function(){
				return $(this).form('validate')
		    },  
		    success:function(data){
				top.closemodalwindow(true,data);
		    }  
		});
	}
</script>

</head>
<body>
<form method="post" name="roleForm" id="roleForm">
<table align=center border="0" width="90%" cellspacing="0" cellpadding="0" class="table_all">
      <tr>
        <td width="30%" height="35" class="td_table_1" valign="middle"><span class="smallFont"><font color=red>*</font>角色代码：</span></td>
        <td width="70%" height="35" class="td_table_2"><div align="left">&nbsp;
        <input class="easyui-validatebox" type="text" required="true" id="jsdm" name="jsdm" maxlength="15" style="width:200px;" <#if obj??>readonly="readonly"</#if> value="${obj.jsdm!}">
          </div></td>
      </tr>
      <tr>
        <td height="35" class="td_table_1"><span class="smallFont"><font color=red>*</font>角色名称：</span></td>
        <td height="35" class="td_table_2"><div align="left">&nbsp;
        	<input class="easyui-validatebox" required="true" id="jsmc" name="jsmc" maxlength="15" style="width:200px;" value="${obj.jsmc!}">
          </div></td>
      </tr>
  </table>
</form>
</body>
</html>